package com.example.analysis.mapper;

import com.example.analysis.entity.CompetitionList;
import com.example.analysis.entity.CompetitionListExample;
import com.example.analysis.entity.CompetitionListKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompetitionListDao {
    long countByExample(CompetitionListExample example);

    int deleteByExample(CompetitionListExample example);

    int deleteByPrimaryKey(CompetitionListKey key);

    int insert(CompetitionList record);

    int insertSelective(CompetitionList record);

    List<CompetitionList> selectByExample(CompetitionListExample example);

    CompetitionList selectByPrimaryKey(CompetitionListKey key);

    int updateByExampleSelective(@Param("record") CompetitionList record, @Param("example") CompetitionListExample example);

    int updateByExample(@Param("record") CompetitionList record, @Param("example") CompetitionListExample example);

    int updateByPrimaryKeySelective(CompetitionList record);

    int updateByPrimaryKey(CompetitionList record);
}